package com.ctgu.server.service;

import com.ctgu.server.dao.dto.AttendanceTimeSlotDto;
import com.ctgu.server.dao.entity.AttendanceTimeSlot;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.server.dao.vo.Result;

import java.util.List;

/**
 * <p>
 * 打卡时间段表 服务类
 * </p>
 *
 * @author ctgu
 * @since 2023-06-13
 */
public interface AttendanceTimeSlotService extends IService<AttendanceTimeSlot> {

    Result addAttendanceTimeSlot(AttendanceTimeSlotDto attendanceTimeSlotDto);

    boolean deleteAll(String opId, String attGrId);

    List<AttendanceTimeSlot> listAllTimeSlot(String userId, String attGrId);
}
